package com.example.android.viewmodels

import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.example.android.models.Dorm
import com.example.android.models.Message
import com.example.android.models.MessageView

/**
 * @ClassName OnlineChatViewModel
 * @Author Ryan Kamanri
 * @Date 2022/6/12
 * @Description
 **/
class OnlineChatViewModel: ViewModel() {
    private val _userId_messageViewList_pairs = mutableMapOf<Long, ArrayList<MessageView>>()
    val UserId_MessageViewList_Pairs get() = _userId_messageViewList_pairs

    private val _messageViewItems = ArrayList<MessageView>()
    val MessageViewItems get() = _messageViewItems
}